package com.hxkj.mapper;

import com.hxkj.domain.po.CommonWithdraw;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* 提现订单表数据库操作接口
*
* @author: yangjianguo
* @version: 1.0
* @datetime: 2019-01-15 14:30:54
*
*/
@Repository("commonWithdrawMapper")
public interface CommonWithdrawMapper {

    /**
    *
    * 根据主键查询CommonWithdraw对象
    *
    * @param id
    * @return CommonWithdraw对象
    */
    CommonWithdraw selectByPrimaryKey(String id);

    /**
    *
    * 根据查询条件查询符合条件的CommonWithdraw对象
    *
    * @param commonWithdraw
    * @return 符合条件的CommonWithdraw对象List
    */
    List<CommonWithdraw> select(CommonWithdraw commonWithdraw);

    /**
    *
    * 根据主键删除CommonWithdraw对象
    *
    * @param id
    * @return 影响条件数
    */
    int deleteByPrimaryKey(String id);

    /**
    *
    * 插入CommonWithdraw对象
    *
    * @param commonWithdraw
    * @return 影响条件数
    */
    int insert(CommonWithdraw commonWithdraw);

    /**
    *
    * 更新CommonWithdraw对象
    *
    * @param commonWithdraw
    * @return 影响条件数
    */
    int update(CommonWithdraw commonWithdraw);

}
